home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / print / ff.arj / FF.BAS next >
BASIC Source File  |  1994-03-03  |  1KB  |  22 lines

  1. '****************************************************************************
  2. '* FF.bas by Jeff Barnard 3/94                                              *
  3. '*                                                                          *
  4. '* This is about as simple as it gets...  QuickBasic 4.5 has nice printer   *
  5. '* support, as you can see.  All this program does is send a form feed to   *
  6. '* lpt1.  There is no support that I've found for lpt2, however, so the way *
  7. '* to use this program on any other printer port than lpt1 is to set up a   *
  8. '* batch file using the mode command to first route lpt2 to lpt1, for       *
  9. '* instance, calling ff.exe, then using the mode command to reroute lpt1    *
  10. '* back to lpt1:                                                            *
  11. '*               "ff2.bat"                                                  *
  12. '*                          mode lpt2:=lpt1:                                *
  13. '*                          ff                                              *
  14. '*                          mode lpt1:=lpt1:                                *
  15. '*                                                                          *
  16. '* Put both the ff.exe and the batch file into your path, and then you can  *
  17. '* easily send a form feed to the print by typing "ff <CR>".                *
  18. '****************************************************************************
  19.  
  20. LPRINT CHR$(12)
  21.  
  22.